﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WYJWeb.Models.BaseInfo;

namespace WYJWeb.Models.Stock
{
    /// <summary>
    /// 出库记录
    /// </summary>
    public class OutStock:BaseModel
    {
        /// <summary>
        /// 出库产品
        /// </summary>
        [Column]
        public Production Production { get; set; }

        /// <summary>
        /// 出库时间
        /// </summary>
        [Column]
        public DateTime? Date { get; set; }

        /// <summary>
        /// 出库数量
        /// </summary>
        [Column]
        public int Amount { get; set; }

        /// <summary>
        /// 产品批次
        /// </summary>
        [Column]
        public string Batch { get; set; }

        /// <summary>
        /// 出库库位
        /// </summary>
        [Column]
        public StockSpace StockSpace { get; set; }
    }
}
